Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): Use pathe instead of node:path #1514

Closed
wants to merge 2 commits into from

Conversation

ieedan
Copy link
Contributor

@ieedan ieedan commented Nov 22, 2024

Fixes testing issues for the CLI for windows users.

  • Replaces node:path with pathe

Not sure if this is really important especially since it's an extra dependency for the CLI. But I tried it in one of my side projects and it worked without any issues.

The registry build has the exact same issue so we may be able to do the same there.

P.S.
Didn't add a changeset since there are no user facing changes lmk if I should add one anyways.

Copy link

changeset-bot bot commented Nov 22, 2024

⚠️ No Changeset found

Latest commit: 8768003

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Nov 22, 2024

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
shadcn-svelte ✅ Ready (View Log) Visit Preview 8768003

@AdrianGonz97
Copy link
Collaborator

Thank you, but I would rather avoid adding another dependency if it's possible! The issue was that the aliases for hooks and ui weren't being normalized, so they were causing the tests to fail on windows. Opened #1516 as an alternate PR

@huntabyte
Copy link
Owner

package.json police 👮‍♂️ strikes again! 😃

Gonna close this in favor of #1516 - thanks for bringing it up @ieedan

@huntabyte huntabyte closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants